package com.base.app_core.model;

import java.math.BigDecimal;
import java.util.Objects;

public class TaskVo {


    /**
     * id : 1
     * type : 2
     * climit : 0.00
     * reward : 200.00
     * des : *每天登录即可领取，忘记领取不累计
     * investFullCount : 0
     * done : true
     */

    private int id;
    private int type;
    private String climit;
    private String reward;
    private String des;
    private int investFullCount;
    private BigDecimal deliveryAmount;
    private boolean done;

    public TaskVo(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getClimit() {
        return climit;
    }

    public void setClimit(String climit) {
        this.climit = climit;
    }

    public BigDecimal getDeliveryAmount() {
        return deliveryAmount;
    }

    public void setDeliveryAmount(BigDecimal deliveryAmount) {
        this.deliveryAmount = deliveryAmount;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getInvestFullCount() {
        return investFullCount;
    }

    public void setInvestFullCount(int investFullCount) {
        this.investFullCount = investFullCount;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TaskVo taskVo = (TaskVo) o;
        return id == taskVo.id;
    }

    @Override
    public int hashCode() {

        return Objects.hash(id);
    }
}
